<?php

$a[] = [
	'a' => 'b',
];

$b = $a[0];

$b['a'] = 'c';

echo json_encode($a);
